for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
const { loadSignatures } = require('./methods')
const groupMethods = list => {
return list.reduce((acc, raw) => {
let [ group, name ] = raw.split('.')
if (!acc[group]) {
acc[group] = []
}
acc[group].push({
name
})
return acc
}, {})
const loadInfo = async groups => {
async
/** global: async */
This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed.
To learn more about declaring variables in Javascript, see the MDN.
const keys = Object.keys(groups)
const result = {}
for (const key of keys) {
result[key] = await loadSignatures(key, groups[key])
await
/** global: await */
return result
module.exports = { groupMethods, loadInfo }
This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed.
To learn more about declaring variables in Javascript, see the MDN.